from django.db import models
from contifyuser.models import Member
from django.contrib.auth.models import User
from django.conf import settings
import datetime

class Group(models.Model):
    member_user = models.ForeignKey(Member, unique=False)
    group_country = models.CharField(max_length=100, choices=settings.COUNTRIES)
    group_zipcode = models.CharField(max_length=5)
    group_city = models.CharField(max_length=25)
    group_created_date = models.DateTimeField(auto_now_add = True)
    group_name = models.CharField(max_length=25)
    group_tagline = models.CharField(max_length=50)
    group_desc = models.CharField(max_length=100)
    group_web_address = models.CharField(max_length=10, unique=True)
